STEP 11: Let's move the ball so it's not right over our sprite's head!

  • Click on . Drag out Go To. Drop it INSIDE your else block.
  • Change the name in front of the .go_to() command to ball.
  • Notice that your program has two possible outcomes. In either outcome, your program will create a sprite named ball.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)